package returnDataStruct;

import org.jetbrains.annotations.NotNull;
import pojo.user;

public class roomerData {
    private String student_id;
    private String user_name;
    private String user_profile;
    private double pk_value;

    @Override
    public String toString() {
        return "roomerData{" +
                "student_id='" + student_id + '\'' +
                ", user_name='" + user_name + '\'' +
                ", user_profile='" + user_profile + '\'' +
                ", pk_value=" + pk_value +
                '}';
    }

    public roomerData(user u, int category){
        setStudent_id(u.getStudent_id());
        setUser_name(u.getName());
        setUser_profile(u.getPhotourl());
        setPk_value(u.getPKBYCategory(category));
    }

    public String getStudent_id() {
        return student_id;
    }

    public void setStudent_id(String student_id) {
        this.student_id = student_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_profile() {
        return user_profile;
    }

    public void setUser_profile(String user_profile) {
        this.user_profile = user_profile;
    }

    public double getPk_value() {
        return pk_value;
    }

    public void setPk_value(double pk_value) {
        this.pk_value = pk_value;
    }
}
